package org.zero.model.bo;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.zero.model.constant.GenderEnum;
import org.zero.model.dto.AccountDTO;

/**
 * @author Zero (cnzeropro@qq.com)
 * @date 2021/8/26 11:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserBO implements Serializable {
    private static final long serialVersionUID = 1713357550617925786L;
    private Long id;
    private String username;
    private GenderEnum gender;
    private LocalDate birthday;
    private AccountDTO account;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Boolean deleted;
}
